package top.malaoshi.mapper;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import top.malaoshi.entity.Goods;

import java.util.List;

@Repository
public interface IGoodsMapper {
    public List<Goods> query();
    public int updateCommentNumById(String id);
    public Goods showById(String id);
    public int updatePsersonNumById(@Param("id") String id,@Param("num") int num);
}
